package com.rrd.itext.xmlBean.layoutBean;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("Section")
public class XmlSection {
	@XStreamAsAttribute
	private String description;
	@XStreamAsAttribute
	private String name;
	@XStreamAsAttribute
	private Integer orderNumber;
	@XStreamAlias("Pages")
	private List<XmlPage> pages;

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<XmlPage> getPages() {
		return pages==null?new ArrayList<XmlPage>():pages;
	}

	public void setPages(List<XmlPage> pages) {
		this.pages = pages;
	}

	public Integer getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(Integer orderNumber) {
		this.orderNumber = orderNumber;
	}
	
}
